//
//  GestureRecognizerTool.m
//  QuicklyPlay
//
//  Created by 你的温柔是我唯一沉溺 on 15/11/11.
//  Copyright © 2015年 OPteam. All rights reserved.
//

#import "GestureRecognizerTool.h"

@implementation GestureRecognizerTool



+ (UIScreenEdgePanGestureRecognizer *)creatScreenEdgePanGestureRecognizerLeftWithViewController:(UIViewController *)controller {
    
    UIScreenEdgePanGestureRecognizer *screenEPGR = [[UIScreenEdgePanGestureRecognizer alloc] init];
    controller.view.userInteractionEnabled = YES;
    
    screenEPGR.edges = UIRectEdgeLeft;
    
    [controller.view addGestureRecognizer: screenEPGR ] ;
    
    return screenEPGR;

}















@end
